abstract class ADetect {
    public abstract boolean detect(double sample);
}